<{if $webstate==1||$adminpage==1}>
<{php}>
//处理一些收尾操作（暂时先这样做，日后可能要改，不知道会不会引起执行效率方面的问题）
/*
global $db;
global $smarty;
global $page_time_start;
$db_query_num=$db->queryNum;
list($usec, $sec) = explode(' ', microtime());
$page_time_end=bcadd($usec,$sec,4);
$page_time_count=bcsub($page_time_end,$page_time_start,4)*1000;
$smarty->assign('db_query_num',$db_query_num);
$smarty->assign('pagetime',$page_time_count);
*/
unset($GLOBALS);

<{/php}>
<!--页面低部-->
<div id="footer">
<div id="innerFooter">
<!--版权信息-->
Powered by <a href="http://www.XXXXX.com/" target="_blank">SDM 版本: 1.0.1</a> &copy; 2003-2005 sdomain.co.<br />
<!--版权信息结束-->
<!--b><{$db_query_num}> DB Queries | Proccessed in 操作时间<{$pagetime}>ms</b-->
</div>
</div>
<!--低部结束-->
<{/if}>
    </div>
    </div>
  </body>
</html>
